#ifndef CURRENTSTATUS_H
#define CURRENTSTATUS_H
#include <QObject>
class CurrentStatus
{
public:
    typedef enum {
        CURRENT_STATUS_IDLE,
        CURRENT_STATUS_CONFIGURING,
        CURRENT_STATUS_RIPPING,
        CURRENT_STATUS_UPDATING,
        CURRENT_STATUS_WAITIN_FOR_REBOOT
    } eCurrentStatus;
    static CurrentStatus* getInstance();
    bool getRipping() const;
    bool getUpdating() const;
    uint getProgress();
    bool getWatingForReboot() const;
    void setRipping(const bool&);
    void setUpdating(const bool&);
    void setWatingForReboot(const bool&);
    void setProgress(uint);

    eCurrentStatus getCurrentStatus() const;
    void setCurrentStatus(eCurrentStatus);
protected:
    CurrentStatus();
private:
    static CurrentStatus *_instance;
    bool _ripping;
    bool _updating;
    bool _watingForReboot;
    eCurrentStatus _currentStatus;
    uint _progress;
};

#endif // CURRENTSTATUS_H
